this._actualGeometry = null;
this._inWindowDrag = false;
this._inWindowFade = false;
+ this._leavingOverview = false;
this._gestureActive = false; // touch(pad) gestures
this._canScroll = true; // limiting scrolling speed
}
_updateSwipeTracker() {
- this._swipeTracker.enabled = this.mapped && !this._inWindowDrag;
+ this._swipeTracker.enabled =
+ this.mapped &&
+ !this._inWindowDrag &&
+ !this._leavingOverview;
}
_workspacesReordered() {
this._inWindowFade = fadeOnPrimary;
+ this._leavingOverview = true;
+ this._updateSwipeTracker();
+
const { primaryIndex } = Main.layoutManager;
const { x, y, width, height } =
Main.layoutManager.getWorkAreaForMonitor(primaryIndex);
this._workspacesViews[i].destroy();
this._workspacesViews = [];
+ this._leavingOverview = false;
+
super.vfunc_hide();
}